package micencats;
/**
 * @author casse
 *
 * TODO To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
public interface MapListener {

	/**
	 * Called when a click is performed on the map.
	 * @param i			Column position.
	 * @param j			Line position.
	 * @param button	Button code from java.awt.event.MouseEvent.BUTTONx.
	 * @param modifier	Or'ed constants from java.awt.InputEvent.xxx_MASK.
	 */
	void mouseClick(int i, int j, int button, int modifier);
	
	/**
	 * Called each time the cursor move on the map.
	 * @param i			Column position.
	 * @param j			Line position.
	 * @param modifier	Or'ed constants from java.awt.InputEvent.xxx_MASK.
	 */
	void mouseMove(int i, int j, int modifier);
}
